home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor2
/
take.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
3KB
|
79 lines
Author: Brian Maguire
Subject: "TakeOver" command
Date: November 1, 1991
TAKA - Adds "TakeOver" command to USER key assignment
TAKR - Removes "TakeOver" command to USER key assignment
Copyright 1991 Brian Maguire
All Rights Reserved
[Note: See also SMTK.LIB on this disk; its ->EVL command adds the
TakeOver command to objects. -jkh-]
DISCLAIMERS
TAKA, TAKR, and this manual are presented as is, without
warranties, expressed or implied. The author makes no guarantee
as to the fitness of this software.
This software can be copied freely provided the software,
including this manual, is copied in its entirety. The user
cannot be charged, in whole or in part, except for the cost of
reproduction. No part of this package may be used for commercial
purposes without written permission from the author.
SUMMARY
Many of the built-in 48 programs that are assigned to keys, for
example the interactive stack, can be run while the command line
is active. This option is unavailable to the user. If a program
is assigned to a user key, it is evaluated only if the command
line is not active. Otherwise, the 48 beeps. The programs TAKA
and TAKR extend this feature to user created programs.
First, a program must be assigned to a particular key using the
commands ASN or STOKEYS. This program must be in RAM, not ROM.
Next, the "TakeOver" command must be added to the key assignment
using the program TAKA. This special command tell the 48 to
temporarily hand control over to that program. Finally, set the
48 to user mode. The assigned key will now be evaluated even
when the command line is active. To remove the "TakeOver"
command from a key assignment use the program TAKR.
COMMANDS
TAKA
This program adds the "TakeOver" command to a user key
assignment. If a RAM program is not assigned to the user key or
an invalid key number is input on level one, "Bad Argument Value"
error will occur.
Input Output
Real(keycode) --> Adds the "TakeOver" command to a user
key assignment.
TAKR
This program removes the "TakeOver" command from a user key
assignment. If a RAM program is not assigned to the user key or
an invalid key number is input on level one, "Bad Argument Value"
error will occur.
Input Output
Real(keycode) --> Removes the "TakeOver" command from a
use key assignment.
Enjoy,
Brian Maguire
139 Kingsbury
Dearborn, MI 48128